/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 8/5/18
Time: 6:54 AM
 */

package com.ug_project.dict.engine.wordtable

fun WordTable.printWords() {
    this.forEach { k, v ->
        print("row: ${k.toChar()}   ")
        v.forEachIndexed { index, i ->
            print("[$index:= ${if (i == 0) "___" else i.toString().padStart(3, '0')}], ")
        }
        println()
    }
}